package com.newcoin.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newcoin.admin.entity.Parameter;
import com.newcoin.admin.entity.XgbWithdraw;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface WithdrawMapper extends BaseMapper<XgbWithdraw> {

    List<XgbWithdraw> getWithdraw(Page page, @Param("parameter") Parameter parameter);

    String getPath(@Param("withdrawId") String withdrawId);
}
